package com.dt.dubai.mber.entity;

import com.dt.dubai.core.comm.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.*;

import javax.persistence.Table;
import javax.validation.constraints.*;


/*
 * 顾客账户余额表
 */

@Data
@Table(name = "dt_mber_customer_account")
@EqualsAndHashCode(callSuper = false)
public class MberCustomerAccountEntity extends BaseEntity {

    //顾客登录记录ID
    @NotNull(message = "customerRecordId参数不能为空")
    Long customerRecordId;

    //账户余额
    @NotNull(message = "accountBalance参数不能为空")
    Integer accountBalance;

    //积分余额
    @NotNull(message = "integralBalance参数不能为空")
    Integer integralBalance;


}
